import Vue from "vue";

import App from "./newIndex.vue";
import axios from "axios";

import "../../axios/config.js";
Vue.prototype.$axios = axios;

import "../../assets/js/museui_all.js";
import "../../assets/museui_tools.less";
import "animate.css";
import "../../assets/js/filter";

import Color from "../../assets/color.json";
Vue.prototype.globalData = {
  color: Color,
};

import store from "./store/index";

Vue.config.productionTip = false;

import { loginAuth } from "../../../util/auth";
import messageAlert from "../../assets/js/newMessage";
Vue.prototype.$message = messageAlert;

loginAuth();

new Vue({
  render: (h) => h(App),
  store,
}).$mount("#app");
